﻿//------------------------------------------------------------------------------
// <copyright file="RpcRemoteMethod.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

namespace Microsoft.Internal.GamesTest.Rpc.Client
{
    /// <summary>
    /// Represents a hook registered on the server.
    /// </summary>
    public class RpcRemoteMethod
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="RpcRemoteMethod"/> class.
        /// </summary>
        /// <param name="methodName">The method name to initialize with.</param>
        internal RpcRemoteMethod(string methodName)
        {
            this.Name = methodName;
        }

        /// <summary>
        /// Gets the name of a registered hook.
        /// </summary>
        public string Name
        {
            get;
            private set;
        }
    }
}
